package per.com.controller.scoremanage;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import per.com.bean.BaseBean;
import per.com.service.impl.scoremanage.ScoremanageService;

import javax.naming.ldap.PagedResultsControl;

@Controller
@RequestMapping("ScoreManage")
public class ScoremanageController {
    @Autowired
    @Qualifier("ScoremanageServiceId")
    private ScoremanageService scoremanageService;

    @RequestMapping(value = "GetScoreManage",method = RequestMethod.POST)
    @ResponseBody
    public BaseBean GetScoreManage(){
        return new BaseBean(0,"success",scoremanageService.GetScoreManage());
    }
}
